Variable transactionsConst
transactions: RecursivelyApplyOptions<{
cancel: {
body: typeof ContractNoBody;
method: "DELETE";
path: "/:transactionId/:typeId";
pathParams: ZodObject<{
transactionId: ZodString;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}>;
responses: {
200: ZodObject<{
type: ZodBoolean;
}, "strip", ZodTypeAny, {
type: boolean;
}, {
type: boolean;
}>;
};
};
capture: {
body: typeof ContractNoBody;
method: "PUT";
path: "/:transactionId/:typeId/capture";
pathParams: ZodObject<{
transactionId: ZodString;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}>;
responses: {
200: ZodObject<{
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<["percent", "fixed"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}>;
Transaction: ZodObject<extendShape<{
InvoiceConfig: ZodOptional<ZodEffects<(...), (...), (...)>>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ...;
Card: ...;
cardOperatorId: ...;
preAuthorize: ...;
}, "strip", ZodTypeAny, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
myId: ZodString;
payday: ZodString;
payedOutsideGalaxPay: ZodBoolean;
value: ZodNumber;
}, {
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
authorizationCode: ZodString;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodOptional<ZodNumber>;
subscriptionMyId: ZodOptional<ZodString>;
tid: ZodString;
}>, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}>;
};
};
create: {
body: ZodObject<{
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ZodEnum<["daysBeforePayDay", "payment", "notificationSend", "daysAfterPayment"]>;
description: ZodString;
galaxPaySubAccountId: ZodOptional<ZodNumber>;
qtdDaysAfterPay: ZodOptional<ZodNumber>;
qtdDaysBeforePayDay: ZodOptional<ZodNumber>;
type: ZodEnum<["onePerTransaction", "onlyOne"]>;
}, "strip", ZodTypeAny, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}>, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<ZodObject<{
ip: ZodString;
sessionId: ZodString;
}, "strip", ZodTypeAny, {
ip: string;
sessionId: string;
}, {
ip: string;
sessionId: string;
}>>;
Card: ZodObject<{
Brand: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
createdAt: ZodOptional<ZodString>;
customerGalaxPayId: ZodOptional<ZodNumber>;
customerMyId: ZodOptional<ZodString>;
cvv: ZodOptional<ZodString>;
expiresAt: ZodOptional<ZodString>;
galaxPayId: ZodOptional<ZodNumber>;
holder: ZodOptional<ZodString>;
myId: ZodOptional<ZodString>;
number: ZodOptional<ZodString>;
updatedAt: ZodOptional<ZodString>;
}, "strip", ZodTypeAny, {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
}, {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
}>;
cardOperatorId: ZodOptional<ZodEnum<["bin", "cielo", "getnet", "getnetNew", "globalpayments", "pagseguro", "rede", "zoop", "galaxpay", "adyen", "stone"]>>;
preAuthorize: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}>;
myId: ZodString;
payday: ZodOptional<ZodString>;
payedOutsideGalaxPay: ZodOptional<ZodBoolean>;
value: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: string;
maxInstallment?: number;
name?: string;
operatorIds?: string;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
myId: string;
payday?: string;
payedOutsideGalaxPay?: boolean;
value?: number;
}, {
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: string;
maxInstallment?: number;
name?: string;
operatorIds?: string;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
myId: string;
payday?: string;
payedOutsideGalaxPay?: boolean;
value?: number;
}>;
method: "POST";
path: "/:subscriptionId/:typeId/add";
pathParams: ZodObject<{
subscriptionId: ZodString;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
subscriptionId: string;
typeId: "galaxPayId" | "myId";
}, {
subscriptionId: string;
typeId: "galaxPayId" | "myId";
}>;
responses: {
200: ZodObject<{
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<["percent", "fixed"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}>;
Transaction: ZodObject<extendShape<{
InvoiceConfig: ZodOptional<ZodEffects<(...), (...), (...)>>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ...;
Card: ...;
cardOperatorId: ...;
preAuthorize: ...;
}, "strip", ZodTypeAny, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
myId: ZodString;
payday: ZodString;
payedOutsideGalaxPay: ZodBoolean;
value: ZodNumber;
}, {
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
authorizationCode: ZodString;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodOptional<ZodNumber>;
subscriptionMyId: ZodOptional<ZodString>;
tid: ZodString;
}>, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}>;
};
};
list: {
method: "GET";
path: "/";
query: ZodObject<{
chargeGalaxPayIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodNumber, "many">, ZodNumber]>>, undefined | string | number, undefined | number | number[]>;
chargeMyIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodString, "many">, ZodString]>>, undefined | string | number, undefined | string | string[]>;
createdAtFrom: ZodOptional<ZodString>;
createdAtTo: ZodOptional<ZodString>;
customerGalaxPayIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodNumber, "many">, ZodNumber]>>, undefined | string | number, undefined | number | number[]>;
customerMyIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodString, "many">, ZodString]>>, undefined | string | number, undefined | string | string[]>;
galaxPayIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodNumber, "many">, ZodNumber]>>, undefined | string | number, undefined | number | number[]>;
limit: ZodNumber;
myIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodString, "many">, ZodString]>>, undefined | string | number, undefined | string | string[]>;
order: ZodOptional<ZodEnum<["createdAt.asc", "createdAt.desc", "payday.asc", "payday.desc"]>>;
payDayFrom: ZodOptional<ZodString>;
payDayTo: ZodOptional<ZodString>;
startAt: ZodNumber;
status: ZodEffects<ZodOptional<ZodUnion<[ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>, ZodArray<ZodEnum<(...)>, "many">]>>, undefined | string | number, undefined | "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free" | ("cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free")[]>;
subscriptionGalaxPayIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodNumber, "many">, ZodNumber]>>, undefined | string | number, undefined | number | number[]>;
updateStatusFrom: ZodOptional<ZodString>;
updateStatusTo: ZodOptional<ZodString>;
}, "strip", ZodTypeAny, {
chargeGalaxPayIds?: string | number;
chargeMyIds?: string | number;
createdAtFrom?: string;
createdAtTo?: string;
customerGalaxPayIds?: string | number;
customerMyIds?: string | number;
galaxPayIds?: string | number;
limit: number;
myIds?: string | number;
order?: "createdAt.asc" | "createdAt.desc" | "payday.asc" | "payday.desc";
payDayFrom?: string;
payDayTo?: string;
startAt: number;
status?: string | number;
subscriptionGalaxPayIds?: string | number;
updateStatusFrom?: string;
updateStatusTo?: string;
}, {
chargeGalaxPayIds?: number | number[];
chargeMyIds?: string | string[];
createdAtFrom?: string;
createdAtTo?: string;
customerGalaxPayIds?: number | number[];
customerMyIds?: string | string[];
galaxPayIds?: number | number[];
limit: number;
myIds?: string | string[];
order?: "createdAt.asc" | "createdAt.desc" | "payday.asc" | "payday.desc";
payDayFrom?: string;
payDayTo?: string;
startAt: number;
status?: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free" | ("cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free")[];
subscriptionGalaxPayIds?: number | number[];
updateStatusFrom?: string;
updateStatusTo?: string;
}>;
responses: {
200: ZodObject<{
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
Charge: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
Pix: ZodObject<{
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, "strip", ZodTypeAny, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}>;
Subscription: ZodObject<{
Customer: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
additionalInfo: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, "strip", ZodTypeAny, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
authorizationCode: ZodOptional<ZodString>;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
chargeGalaxPayId: ZodNumber;
chargeMyId: ZodString;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
installment: ZodNumber;
myId: ZodString;
payday: ZodString;
paydayDate: ZodString;
payedOutsideGalaxPay: ZodBoolean;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodNumber;
subscriptionMyId: ZodString;
tid: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}[];
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}[];
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}>, "many">;
totalQtdFoundInPage: ZodNumber;
}, "strip", ZodTypeAny, {
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
totalQtdFoundInPage: number;
}, {
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
totalQtdFoundInPage: number;
}>;
};
};
retry: {
body: typeof ContractNoBody;
method: "PUT";
path: "/:transactionId/:typeId/retry";
pathParams: ZodObject<{
transactionId: ZodString;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}>;
responses: {
200: ZodObject<{
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<ZodObject<{
ip: ...;
sessionId: ...;
}, "strip", ZodTypeAny, {
ip: ...;
sessionId: ...;
}, {
ip: ...;
sessionId: ...;
}>>;
Card: ZodObject<{
Brand: ZodOptional<(...)>;
createdAt: ZodOptional<(...)>;
customerGalaxPayId: ZodOptional<(...)>;
customerMyId: ZodOptional<(...)>;
cvv: ZodOptional<(...)>;
expiresAt: ZodOptional<(...)>;
galaxPayId: ZodOptional<(...)>;
holder: ZodOptional<(...)>;
myId: ZodOptional<(...)>;
number: ZodOptional<(...)>;
updatedAt: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}>;
cardOperatorId: ZodOptional<ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>>;
preAuthorize: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}>;
Transaction: ZodObject<{
AbecsReasonDenied: ZodObject<{
code: ZodString;
message: ZodString;
}, "strip", ZodTypeAny, {
code: string;
message: string;
}, {
code: string;
message: string;
}>;
Antifraud: ZodObject<extendShape<{
ip: ...;
sessionId: ...;
}, {
approved: ...;
sent: ...;
}>, "strip", ZodTypeAny, {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
}, {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
}>;
Boleto: ZodObject<{
bankAccount: ZodString;
bankAgency: ZodString;
bankEmissor: ZodString;
bankLine: ZodString;
bankNumber: ZodNumber;
barCode: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
}, {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
}>;
Charge: ZodArray<ZodObject<{
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, "strip", ZodTypeAny, {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}>, "many">;
ConciliationOccurrences: ZodArray<ZodObject<{
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}, "strip", ZodTypeAny, {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}, {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}>, "many">;
CreditCard: ZodObject<{
Card: ZodObject<(...), (...), (...), (...), (...)>;
}, "strip", ZodTypeAny, {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
}, {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
}>;
Invoice: ZodObject<{
description: ZodString;
number: ZodString;
pdf: ZodString;
status: ZodEnum<(...)>;
statusDate: ZodString;
statusDescription: ZodString;
xml: ZodString;
}, "strip", ZodTypeAny, {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
}, {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
}>;
Pix: ZodObject<{
image: ZodString;
page: ZodString;
qrCode: ZodString;
reference: ZodString;
}, "strip", ZodTypeAny, {
image: string;
page: string;
qrCode: string;
reference: string;
}, {
image: string;
page: string;
qrCode: string;
reference: string;
}>;
Subscription: ZodObject<{
Customer: ZodEffects<(...), (...), (...)>;
InvoiceConfig: ZodOptional<(...)>;
PaymentMethodBoleto: ZodOptional<(...)>;
PaymentMethodCreditCard: ZodOptional<(...)>;
PaymentMethodPix: ZodOptional<(...)>;
additionalInfo: ZodOptional<(...)>;
firstPayDayDate: ZodString;
galaxPayId: ZodNumber;
mainPaymentMethodId: ZodEnum<(...)>;
myId: ZodString;
paymentLink: ZodOptional<(...)>;
periodicity: ZodEnum<(...)>;
planGalaxPayId: ZodNumber;
planMyId: ZodString;
status: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
}, {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
}>;
additionalInfo: ZodOptional<ZodString>;
authorizationCode: ZodOptional<ZodString>;
cardOperatorId: ZodEnum<["bin", "cielo", "getnet", "getnetNew", "globalpayments", "pagseguro", "rede", "zoop", "galaxpay", "adyen", "stone"]>;
chargeGalaxPayId: ZodNumber;
chargeMyId: ZodString;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
installment: ZodNumber;
myId: ZodString;
payday: ZodString;
paydayDate: ZodString;
payedOutsideGalaxPay: ZodBoolean;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<["noSend", "authorized", "captured", "denied", "reversed", "chargeback", "pendingBoleto", "payedBoleto", "notCompensated", "lessValueBoleto", "moreValueBoleto", "paidDuplicityBoleto", "pendingPix", "payedPix"]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodNumber;
subscriptionMyId: ZodString;
tid: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}>;
}, "strip", ZodTypeAny, {
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: {
city?: ...;
complement?: ...;
neighborhood?: ...;
number?: ...;
state?: ...;
street?: ...;
zipCode?: ...;
};
createdAt?: string;
document?: string;
emails?: (...)[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: (...)[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto?: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard?: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix?: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
};
}, {
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: {
city?: ...;
complement?: ...;
neighborhood?: ...;
number?: ...;
state?: ...;
street?: ...;
zipCode?: ...;
};
createdAt?: string;
document?: string;
emails?: (...)[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: (...)[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto?: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard?: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix?: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
};
}>;
};
};
reverse: {
body: ZodObject<{
valueToReverse: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
valueToReverse?: number;
}, {
valueToReverse?: number;
}>;
method: "PUT";
path: "/:transactionId/:typeId/reverse";
pathParams: ZodObject<{
transactionId: ZodString;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}>;
responses: {
200: ZodObject<{
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<ZodObject<{
ip: ...;
sessionId: ...;
}, "strip", ZodTypeAny, {
ip: ...;
sessionId: ...;
}, {
ip: ...;
sessionId: ...;
}>>;
Card: ZodObject<{
Brand: ZodOptional<(...)>;
createdAt: ZodOptional<(...)>;
customerGalaxPayId: ZodOptional<(...)>;
customerMyId: ZodOptional<(...)>;
cvv: ZodOptional<(...)>;
expiresAt: ZodOptional<(...)>;
galaxPayId: ZodOptional<(...)>;
holder: ZodOptional<(...)>;
myId: ZodOptional<(...)>;
number: ZodOptional<(...)>;
updatedAt: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}>;
cardOperatorId: ZodOptional<ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>>;
preAuthorize: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}>;
Transaction: ZodObject<{
AbecsReasonDenied: ZodObject<{
code: ZodString;
message: ZodString;
}, "strip", ZodTypeAny, {
code: string;
message: string;
}, {
code: string;
message: string;
}>;
Antifraud: ZodObject<extendShape<{
ip: ...;
sessionId: ...;
}, {
approved: ...;
sent: ...;
}>, "strip", ZodTypeAny, {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
}, {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
}>;
Boleto: ZodObject<{
bankAccount: ZodString;
bankAgency: ZodString;
bankEmissor: ZodString;
bankLine: ZodString;
bankNumber: ZodNumber;
barCode: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
}, {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
}>;
Charge: ZodArray<ZodObject<{
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, "strip", ZodTypeAny, {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}>, "many">;
ConciliationOccurrences: ZodArray<ZodObject<{
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}, "strip", ZodTypeAny, {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}, {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}>, "many">;
CreditCard: ZodObject<{
Card: ZodObject<(...), (...), (...), (...), (...)>;
}, "strip", ZodTypeAny, {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
}, {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
}>;
Invoice: ZodObject<{
description: ZodString;
number: ZodString;
pdf: ZodString;
status: ZodEnum<(...)>;
statusDate: ZodString;
statusDescription: ZodString;
xml: ZodString;
}, "strip", ZodTypeAny, {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
}, {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
}>;
Pix: ZodObject<{
image: ZodString;
page: ZodString;
qrCode: ZodString;
reference: ZodString;
}, "strip", ZodTypeAny, {
image: string;
page: string;
qrCode: string;
reference: string;
}, {
image: string;
page: string;
qrCode: string;
reference: string;
}>;
Subscription: ZodObject<{
Customer: ZodEffects<(...), (...), (...)>;
InvoiceConfig: ZodOptional<(...)>;
PaymentMethodBoleto: ZodOptional<(...)>;
PaymentMethodCreditCard: ZodOptional<(...)>;
PaymentMethodPix: ZodOptional<(...)>;
additionalInfo: ZodOptional<(...)>;
firstPayDayDate: ZodString;
galaxPayId: ZodNumber;
mainPaymentMethodId: ZodEnum<(...)>;
myId: ZodString;
paymentLink: ZodOptional<(...)>;
periodicity: ZodEnum<(...)>;
planGalaxPayId: ZodNumber;
planMyId: ZodString;
status: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
}, {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
}>;
additionalInfo: ZodOptional<ZodString>;
authorizationCode: ZodOptional<ZodString>;
cardOperatorId: ZodEnum<["bin", "cielo", "getnet", "getnetNew", "globalpayments", "pagseguro", "rede", "zoop", "galaxpay", "adyen", "stone"]>;
chargeGalaxPayId: ZodNumber;
chargeMyId: ZodString;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
installment: ZodNumber;
myId: ZodString;
payday: ZodString;
paydayDate: ZodString;
payedOutsideGalaxPay: ZodBoolean;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<["noSend", "authorized", "captured", "denied", "reversed", "chargeback", "pendingBoleto", "payedBoleto", "notCompensated", "lessValueBoleto", "moreValueBoleto", "paidDuplicityBoleto", "pendingPix", "payedPix"]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodNumber;
subscriptionMyId: ZodString;
tid: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}>;
}, "strip", ZodTypeAny, {
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: {
city?: ...;
complement?: ...;
neighborhood?: ...;
number?: ...;
state?: ...;
street?: ...;
zipCode?: ...;
};
createdAt?: string;
document?: string;
emails?: (...)[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: (...)[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto?: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard?: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix?: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
};
}, {
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: {
city?: ...;
complement?: ...;
neighborhood?: ...;
number?: ...;
state?: ...;
street?: ...;
zipCode?: ...;
};
createdAt?: string;
document?: string;
emails?: (...)[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: (...)[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto?: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard?: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix?: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
};
}>;
};
};
update: {
body: ZodObject<{
additionalInfo: ZodOptional<ZodOptional<ZodString>>;
myId: ZodString;
payday: ZodOptional<ZodString>;
payedOutsideGalaxPay: ZodOptional<ZodBoolean>;
value: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
additionalInfo: undefined | string;
myId: string;
payday: undefined | string;
payedOutsideGalaxPay: undefined | boolean;
value: undefined | number;
}, {
additionalInfo: undefined | string;
myId: string;
payday: undefined | string;
payedOutsideGalaxPay: undefined | boolean;
value: undefined | number;
}>;
method: "PUT";
path: "/:subscriptionId/:typeId";
pathParams: ZodObject<{
subscriptionId: ZodString;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
subscriptionId: string;
typeId: "galaxPayId" | "myId";
}, {
subscriptionId: string;
typeId: "galaxPayId" | "myId";
}>;
responses: {
200: ZodObject<{
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<["percent", "fixed"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}>;
Transaction: ZodObject<extendShape<{
InvoiceConfig: ZodOptional<ZodEffects<(...), (...), (...)>>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ...;
Card: ...;
cardOperatorId: ...;
preAuthorize: ...;
}, "strip", ZodTypeAny, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
myId: ZodString;
payday: ZodString;
payedOutsideGalaxPay: ZodBoolean;
value: ZodNumber;
}, {
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
authorizationCode: ZodString;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodOptional<ZodNumber>;
subscriptionMyId: ZodOptional<ZodString>;
tid: ZodString;
}>, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}>;
};
};
}, {
commonResponses: {
507: ContractPlainType<ZodError<any>>;
};
pathPrefix: "/transactions";
}> = ...
Type declaration
cancel: {
body: typeof ContractNoBody;
method: "DELETE";
path: "/:transactionId/:typeId";
pathParams: ZodObject<{
transactionId: ZodString;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}>;
responses: {
200: ZodObject<{
type: ZodBoolean;
}, "strip", ZodTypeAny, {
type: boolean;
}, {
type: boolean;
}>;
};
}
body: typeof ContractNoBody
method: "DELETE"
path: "/:transactionId/:typeId"
pathParams: ZodObject<{
transactionId: ZodString;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}>
responses: {
200: ZodObject<{
type: ZodBoolean;
}, "strip", ZodTypeAny, {
type: boolean;
}, {
type: boolean;
}>;
}
200: ZodObject<{
type: ZodBoolean;
}, "strip", ZodTypeAny, {
type: boolean;
}, {
type: boolean;
}>
capture: {
body: typeof ContractNoBody;
method: "PUT";
path: "/:transactionId/:typeId/capture";
pathParams: ZodObject<{
transactionId: ZodString;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}>;
responses: {
200: ZodObject<{
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<["percent", "fixed"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}>;
Transaction: ZodObject<extendShape<{
InvoiceConfig: ZodOptional<ZodEffects<(...), (...), (...)>>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ...;
Card: ...;
cardOperatorId: ...;
preAuthorize: ...;
}, "strip", ZodTypeAny, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
myId: ZodString;
payday: ZodString;
payedOutsideGalaxPay: ZodBoolean;
value: ZodNumber;
}, {
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
authorizationCode: ZodString;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodOptional<ZodNumber>;
subscriptionMyId: ZodOptional<ZodString>;
tid: ZodString;
}>, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}>;
};
}
body: typeof ContractNoBody
method: "PUT"
path: "/:transactionId/:typeId/capture"
pathParams: ZodObject<{
transactionId: ZodString;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}>
responses: {
200: ZodObject<{
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<["percent", "fixed"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}>;
Transaction: ZodObject<extendShape<{
InvoiceConfig: ZodOptional<ZodEffects<(...), (...), (...)>>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ...;
Card: ...;
cardOperatorId: ...;
preAuthorize: ...;
}, "strip", ZodTypeAny, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
myId: ZodString;
payday: ZodString;
payedOutsideGalaxPay: ZodBoolean;
value: ZodNumber;
}, {
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
authorizationCode: ZodString;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodOptional<ZodNumber>;
subscriptionMyId: ZodOptional<ZodString>;
tid: ZodString;
}>, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}>;
}
200: ZodObject<{
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<["percent", "fixed"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}>;
Transaction: ZodObject<extendShape<{
InvoiceConfig: ZodOptional<ZodEffects<(...), (...), (...)>>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ...;
Card: ...;
cardOperatorId: ...;
preAuthorize: ...;
}, "strip", ZodTypeAny, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
myId: ZodString;
payday: ZodString;
payedOutsideGalaxPay: ZodBoolean;
value: ZodNumber;
}, {
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
authorizationCode: ZodString;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodOptional<ZodNumber>;
subscriptionMyId: ZodOptional<ZodString>;
tid: ZodString;
}>, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}>
create: {
body: ZodObject<{
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ZodEnum<["daysBeforePayDay", "payment", "notificationSend", "daysAfterPayment"]>;
description: ZodString;
galaxPaySubAccountId: ZodOptional<ZodNumber>;
qtdDaysAfterPay: ZodOptional<ZodNumber>;
qtdDaysBeforePayDay: ZodOptional<ZodNumber>;
type: ZodEnum<["onePerTransaction", "onlyOne"]>;
}, "strip", ZodTypeAny, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}>, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<ZodObject<{
ip: ZodString;
sessionId: ZodString;
}, "strip", ZodTypeAny, {
ip: string;
sessionId: string;
}, {
ip: string;
sessionId: string;
}>>;
Card: ZodObject<{
Brand: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
createdAt: ZodOptional<ZodString>;
customerGalaxPayId: ZodOptional<ZodNumber>;
customerMyId: ZodOptional<ZodString>;
cvv: ZodOptional<ZodString>;
expiresAt: ZodOptional<ZodString>;
galaxPayId: ZodOptional<ZodNumber>;
holder: ZodOptional<ZodString>;
myId: ZodOptional<ZodString>;
number: ZodOptional<ZodString>;
updatedAt: ZodOptional<ZodString>;
}, "strip", ZodTypeAny, {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
}, {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
}>;
cardOperatorId: ZodOptional<ZodEnum<["bin", "cielo", "getnet", "getnetNew", "globalpayments", "pagseguro", "rede", "zoop", "galaxpay", "adyen", "stone"]>>;
preAuthorize: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}>;
myId: ZodString;
payday: ZodOptional<ZodString>;
payedOutsideGalaxPay: ZodOptional<ZodBoolean>;
value: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: string;
maxInstallment?: number;
name?: string;
operatorIds?: string;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
myId: string;
payday?: string;
payedOutsideGalaxPay?: boolean;
value?: number;
}, {
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: string;
maxInstallment?: number;
name?: string;
operatorIds?: string;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
myId: string;
payday?: string;
payedOutsideGalaxPay?: boolean;
value?: number;
}>;
method: "POST";
path: "/:subscriptionId/:typeId/add";
pathParams: ZodObject<{
subscriptionId: ZodString;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
subscriptionId: string;
typeId: "galaxPayId" | "myId";
}, {
subscriptionId: string;
typeId: "galaxPayId" | "myId";
}>;
responses: {
200: ZodObject<{
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<["percent", "fixed"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}>;
Transaction: ZodObject<extendShape<{
InvoiceConfig: ZodOptional<ZodEffects<(...), (...), (...)>>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ...;
Card: ...;
cardOperatorId: ...;
preAuthorize: ...;
}, "strip", ZodTypeAny, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
myId: ZodString;
payday: ZodString;
payedOutsideGalaxPay: ZodBoolean;
value: ZodNumber;
}, {
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
authorizationCode: ZodString;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodOptional<ZodNumber>;
subscriptionMyId: ZodOptional<ZodString>;
tid: ZodString;
}>, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}>;
};
}
body: ZodObject<{
InvoiceConfig: ZodEffects<ZodObject<{
createOn: ZodEnum<["daysBeforePayDay", "payment", "notificationSend", "daysAfterPayment"]>;
description: ZodString;
galaxPaySubAccountId: ZodOptional<ZodNumber>;
qtdDaysAfterPay: ZodOptional<ZodNumber>;
qtdDaysBeforePayDay: ZodOptional<ZodNumber>;
type: ZodEnum<["onePerTransaction", "onlyOne"]>;
}, "strip", ZodTypeAny, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}>, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}, {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
}>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<ZodObject<{
ip: ZodString;
sessionId: ZodString;
}, "strip", ZodTypeAny, {
ip: string;
sessionId: string;
}, {
ip: string;
sessionId: string;
}>>;
Card: ZodObject<{
Brand: ZodOptional<ZodObject<(...), (...), (...), (...), (...)>>;
createdAt: ZodOptional<ZodString>;
customerGalaxPayId: ZodOptional<ZodNumber>;
customerMyId: ZodOptional<ZodString>;
cvv: ZodOptional<ZodString>;
expiresAt: ZodOptional<ZodString>;
galaxPayId: ZodOptional<ZodNumber>;
holder: ZodOptional<ZodString>;
myId: ZodOptional<ZodString>;
number: ZodOptional<ZodString>;
updatedAt: ZodOptional<ZodString>;
}, "strip", ZodTypeAny, {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
}, {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
}>;
cardOperatorId: ZodOptional<ZodEnum<["bin", "cielo", "getnet", "getnetNew", "globalpayments", "pagseguro", "rede", "zoop", "galaxpay", "adyen", "stone"]>>;
preAuthorize: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}>;
myId: ZodString;
payday: ZodOptional<ZodString>;
payedOutsideGalaxPay: ZodOptional<ZodBoolean>;
value: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: string;
maxInstallment?: number;
name?: string;
operatorIds?: string;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
myId: string;
payday?: string;
payedOutsideGalaxPay?: boolean;
value?: number;
}, {
InvoiceConfig: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: string;
maxInstallment?: number;
name?: string;
operatorIds?: string;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
myId: string;
payday?: string;
payedOutsideGalaxPay?: boolean;
value?: number;
}>
method: "POST"
path: "/:subscriptionId/:typeId/add"
pathParams: ZodObject<{
subscriptionId: ZodString;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
subscriptionId: string;
typeId: "galaxPayId" | "myId";
}, {
subscriptionId: string;
typeId: "galaxPayId" | "myId";
}>
responses: {
200: ZodObject<{
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<["percent", "fixed"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}>;
Transaction: ZodObject<extendShape<{
InvoiceConfig: ZodOptional<ZodEffects<(...), (...), (...)>>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ...;
Card: ...;
cardOperatorId: ...;
preAuthorize: ...;
}, "strip", ZodTypeAny, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
myId: ZodString;
payday: ZodString;
payedOutsideGalaxPay: ZodBoolean;
value: ZodNumber;
}, {
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
authorizationCode: ZodString;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodOptional<ZodNumber>;
subscriptionMyId: ZodOptional<ZodString>;
tid: ZodString;
}>, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}>;
}
200: ZodObject<{
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<["percent", "fixed"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}>;
Transaction: ZodObject<extendShape<{
InvoiceConfig: ZodOptional<ZodEffects<(...), (...), (...)>>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ...;
Card: ...;
cardOperatorId: ...;
preAuthorize: ...;
}, "strip", ZodTypeAny, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
myId: ZodString;
payday: ZodString;
payedOutsideGalaxPay: ZodBoolean;
value: ZodNumber;
}, {
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
authorizationCode: ZodString;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodOptional<ZodNumber>;
subscriptionMyId: ZodOptional<ZodString>;
tid: ZodString;
}>, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}>
list: {
method: "GET";
path: "/";
query: ZodObject<{
chargeGalaxPayIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodNumber, "many">, ZodNumber]>>, undefined | string | number, undefined | number | number[]>;
chargeMyIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodString, "many">, ZodString]>>, undefined | string | number, undefined | string | string[]>;
createdAtFrom: ZodOptional<ZodString>;
createdAtTo: ZodOptional<ZodString>;
customerGalaxPayIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodNumber, "many">, ZodNumber]>>, undefined | string | number, undefined | number | number[]>;
customerMyIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodString, "many">, ZodString]>>, undefined | string | number, undefined | string | string[]>;
galaxPayIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodNumber, "many">, ZodNumber]>>, undefined | string | number, undefined | number | number[]>;
limit: ZodNumber;
myIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodString, "many">, ZodString]>>, undefined | string | number, undefined | string | string[]>;
order: ZodOptional<ZodEnum<["createdAt.asc", "createdAt.desc", "payday.asc", "payday.desc"]>>;
payDayFrom: ZodOptional<ZodString>;
payDayTo: ZodOptional<ZodString>;
startAt: ZodNumber;
status: ZodEffects<ZodOptional<ZodUnion<[ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>, ZodArray<ZodEnum<(...)>, "many">]>>, undefined | string | number, undefined | "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free" | ("cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free")[]>;
subscriptionGalaxPayIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodNumber, "many">, ZodNumber]>>, undefined | string | number, undefined | number | number[]>;
updateStatusFrom: ZodOptional<ZodString>;
updateStatusTo: ZodOptional<ZodString>;
}, "strip", ZodTypeAny, {
chargeGalaxPayIds?: string | number;
chargeMyIds?: string | number;
createdAtFrom?: string;
createdAtTo?: string;
customerGalaxPayIds?: string | number;
customerMyIds?: string | number;
galaxPayIds?: string | number;
limit: number;
myIds?: string | number;
order?: "createdAt.asc" | "createdAt.desc" | "payday.asc" | "payday.desc";
payDayFrom?: string;
payDayTo?: string;
startAt: number;
status?: string | number;
subscriptionGalaxPayIds?: string | number;
updateStatusFrom?: string;
updateStatusTo?: string;
}, {
chargeGalaxPayIds?: number | number[];
chargeMyIds?: string | string[];
createdAtFrom?: string;
createdAtTo?: string;
customerGalaxPayIds?: number | number[];
customerMyIds?: string | string[];
galaxPayIds?: number | number[];
limit: number;
myIds?: string | string[];
order?: "createdAt.asc" | "createdAt.desc" | "payday.asc" | "payday.desc";
payDayFrom?: string;
payDayTo?: string;
startAt: number;
status?: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free" | ("cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free")[];
subscriptionGalaxPayIds?: number | number[];
updateStatusFrom?: string;
updateStatusTo?: string;
}>;
responses: {
200: ZodObject<{
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
Charge: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
Pix: ZodObject<{
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, "strip", ZodTypeAny, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}>;
Subscription: ZodObject<{
Customer: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
additionalInfo: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, "strip", ZodTypeAny, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
authorizationCode: ZodOptional<ZodString>;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
chargeGalaxPayId: ZodNumber;
chargeMyId: ZodString;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
installment: ZodNumber;
myId: ZodString;
payday: ZodString;
paydayDate: ZodString;
payedOutsideGalaxPay: ZodBoolean;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodNumber;
subscriptionMyId: ZodString;
tid: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}[];
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}[];
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}>, "many">;
totalQtdFoundInPage: ZodNumber;
}, "strip", ZodTypeAny, {
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
totalQtdFoundInPage: number;
}, {
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
totalQtdFoundInPage: number;
}>;
};
}
method: "GET"
path: "/"
query: ZodObject<{
chargeGalaxPayIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodNumber, "many">, ZodNumber]>>, undefined | string | number, undefined | number | number[]>;
chargeMyIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodString, "many">, ZodString]>>, undefined | string | number, undefined | string | string[]>;
createdAtFrom: ZodOptional<ZodString>;
createdAtTo: ZodOptional<ZodString>;
customerGalaxPayIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodNumber, "many">, ZodNumber]>>, undefined | string | number, undefined | number | number[]>;
customerMyIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodString, "many">, ZodString]>>, undefined | string | number, undefined | string | string[]>;
galaxPayIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodNumber, "many">, ZodNumber]>>, undefined | string | number, undefined | number | number[]>;
limit: ZodNumber;
myIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodString, "many">, ZodString]>>, undefined | string | number, undefined | string | string[]>;
order: ZodOptional<ZodEnum<["createdAt.asc", "createdAt.desc", "payday.asc", "payday.desc"]>>;
payDayFrom: ZodOptional<ZodString>;
payDayTo: ZodOptional<ZodString>;
startAt: ZodNumber;
status: ZodEffects<ZodOptional<ZodUnion<[ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>, ZodArray<ZodEnum<(...)>, "many">]>>, undefined | string | number, undefined | "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free" | ("cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free")[]>;
subscriptionGalaxPayIds: ZodEffects<ZodOptional<ZodUnion<[ZodArray<ZodNumber, "many">, ZodNumber]>>, undefined | string | number, undefined | number | number[]>;
updateStatusFrom: ZodOptional<ZodString>;
updateStatusTo: ZodOptional<ZodString>;
}, "strip", ZodTypeAny, {
chargeGalaxPayIds?: string | number;
chargeMyIds?: string | number;
createdAtFrom?: string;
createdAtTo?: string;
customerGalaxPayIds?: string | number;
customerMyIds?: string | number;
galaxPayIds?: string | number;
limit: number;
myIds?: string | number;
order?: "createdAt.asc" | "createdAt.desc" | "payday.asc" | "payday.desc";
payDayFrom?: string;
payDayTo?: string;
startAt: number;
status?: string | number;
subscriptionGalaxPayIds?: string | number;
updateStatusFrom?: string;
updateStatusTo?: string;
}, {
chargeGalaxPayIds?: number | number[];
chargeMyIds?: string | string[];
createdAtFrom?: string;
createdAtTo?: string;
customerGalaxPayIds?: number | number[];
customerMyIds?: string | string[];
galaxPayIds?: number | number[];
limit: number;
myIds?: string | string[];
order?: "createdAt.asc" | "createdAt.desc" | "payday.asc" | "payday.desc";
payDayFrom?: string;
payDayTo?: string;
startAt: number;
status?: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free" | ("cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free")[];
subscriptionGalaxPayIds?: number | number[];
updateStatusFrom?: string;
updateStatusTo?: string;
}>
responses: {
200: ZodObject<{
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
Charge: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
Pix: ZodObject<{
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, "strip", ZodTypeAny, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}>;
Subscription: ZodObject<{
Customer: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
additionalInfo: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, "strip", ZodTypeAny, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
authorizationCode: ZodOptional<ZodString>;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
chargeGalaxPayId: ZodNumber;
chargeMyId: ZodString;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
installment: ZodNumber;
myId: ZodString;
payday: ZodString;
paydayDate: ZodString;
payedOutsideGalaxPay: ZodBoolean;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodNumber;
subscriptionMyId: ZodString;
tid: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}[];
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}[];
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}>, "many">;
totalQtdFoundInPage: ZodNumber;
}, "strip", ZodTypeAny, {
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
totalQtdFoundInPage: number;
}, {
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
totalQtdFoundInPage: number;
}>;
}
200: ZodObject<{
Transactions: ZodArray<ZodObject<{
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
Charge: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
Pix: ZodObject<{
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, "strip", ZodTypeAny, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}, {
image: ...;
page: ...;
qrCode: ...;
reference: ...;
}>;
Subscription: ZodObject<{
Customer: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
additionalInfo: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, "strip", ZodTypeAny, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, {
Customer: ...;
InvoiceConfig?: ...;
PaymentMethodBoleto?: ...;
PaymentMethodCreditCard?: ...;
PaymentMethodPix?: ...;
additionalInfo?: ...;
firstPayDayDate: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
paymentLink?: ...;
periodicity: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
authorizationCode: ZodOptional<ZodString>;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
chargeGalaxPayId: ZodNumber;
chargeMyId: ZodString;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
installment: ZodNumber;
myId: ZodString;
payday: ZodString;
paydayDate: ZodString;
payedOutsideGalaxPay: ZodBoolean;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodNumber;
subscriptionMyId: ZodString;
tid: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}[];
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}[];
ConciliationOccurrences: {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}[];
CreditCard: {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}>, "many">;
totalQtdFoundInPage: ZodNumber;
}, "strip", ZodTypeAny, {
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
totalQtdFoundInPage: number;
}, {
Transactions: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}[];
totalQtdFoundInPage: number;
}>
retry: {
body: typeof ContractNoBody;
method: "PUT";
path: "/:transactionId/:typeId/retry";
pathParams: ZodObject<{
transactionId: ZodString;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}>;
responses: {
200: ZodObject<{
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<ZodObject<{
ip: ...;
sessionId: ...;
}, "strip", ZodTypeAny, {
ip: ...;
sessionId: ...;
}, {
ip: ...;
sessionId: ...;
}>>;
Card: ZodObject<{
Brand: ZodOptional<(...)>;
createdAt: ZodOptional<(...)>;
customerGalaxPayId: ZodOptional<(...)>;
customerMyId: ZodOptional<(...)>;
cvv: ZodOptional<(...)>;
expiresAt: ZodOptional<(...)>;
galaxPayId: ZodOptional<(...)>;
holder: ZodOptional<(...)>;
myId: ZodOptional<(...)>;
number: ZodOptional<(...)>;
updatedAt: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}>;
cardOperatorId: ZodOptional<ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>>;
preAuthorize: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}>;
Transaction: ZodObject<{
AbecsReasonDenied: ZodObject<{
code: ZodString;
message: ZodString;
}, "strip", ZodTypeAny, {
code: string;
message: string;
}, {
code: string;
message: string;
}>;
Antifraud: ZodObject<extendShape<{
ip: ...;
sessionId: ...;
}, {
approved: ...;
sent: ...;
}>, "strip", ZodTypeAny, {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
}, {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
}>;
Boleto: ZodObject<{
bankAccount: ZodString;
bankAgency: ZodString;
bankEmissor: ZodString;
bankLine: ZodString;
bankNumber: ZodNumber;
barCode: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
}, {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
}>;
Charge: ZodArray<ZodObject<{
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, "strip", ZodTypeAny, {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}>, "many">;
ConciliationOccurrences: ZodArray<ZodObject<{
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}, "strip", ZodTypeAny, {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}, {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}>, "many">;
CreditCard: ZodObject<{
Card: ZodObject<(...), (...), (...), (...), (...)>;
}, "strip", ZodTypeAny, {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
}, {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
}>;
Invoice: ZodObject<{
description: ZodString;
number: ZodString;
pdf: ZodString;
status: ZodEnum<(...)>;
statusDate: ZodString;
statusDescription: ZodString;
xml: ZodString;
}, "strip", ZodTypeAny, {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
}, {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
}>;
Pix: ZodObject<{
image: ZodString;
page: ZodString;
qrCode: ZodString;
reference: ZodString;
}, "strip", ZodTypeAny, {
image: string;
page: string;
qrCode: string;
reference: string;
}, {
image: string;
page: string;
qrCode: string;
reference: string;
}>;
Subscription: ZodObject<{
Customer: ZodEffects<(...), (...), (...)>;
InvoiceConfig: ZodOptional<(...)>;
PaymentMethodBoleto: ZodOptional<(...)>;
PaymentMethodCreditCard: ZodOptional<(...)>;
PaymentMethodPix: ZodOptional<(...)>;
additionalInfo: ZodOptional<(...)>;
firstPayDayDate: ZodString;
galaxPayId: ZodNumber;
mainPaymentMethodId: ZodEnum<(...)>;
myId: ZodString;
paymentLink: ZodOptional<(...)>;
periodicity: ZodEnum<(...)>;
planGalaxPayId: ZodNumber;
planMyId: ZodString;
status: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
}, {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
}>;
additionalInfo: ZodOptional<ZodString>;
authorizationCode: ZodOptional<ZodString>;
cardOperatorId: ZodEnum<["bin", "cielo", "getnet", "getnetNew", "globalpayments", "pagseguro", "rede", "zoop", "galaxpay", "adyen", "stone"]>;
chargeGalaxPayId: ZodNumber;
chargeMyId: ZodString;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
installment: ZodNumber;
myId: ZodString;
payday: ZodString;
paydayDate: ZodString;
payedOutsideGalaxPay: ZodBoolean;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<["noSend", "authorized", "captured", "denied", "reversed", "chargeback", "pendingBoleto", "payedBoleto", "notCompensated", "lessValueBoleto", "moreValueBoleto", "paidDuplicityBoleto", "pendingPix", "payedPix"]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodNumber;
subscriptionMyId: ZodString;
tid: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}>;
}, "strip", ZodTypeAny, {
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: {
city?: ...;
complement?: ...;
neighborhood?: ...;
number?: ...;
state?: ...;
street?: ...;
zipCode?: ...;
};
createdAt?: string;
document?: string;
emails?: (...)[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: (...)[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto?: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard?: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix?: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
};
}, {
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: {
city?: ...;
complement?: ...;
neighborhood?: ...;
number?: ...;
state?: ...;
street?: ...;
zipCode?: ...;
};
createdAt?: string;
document?: string;
emails?: (...)[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: (...)[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto?: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard?: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix?: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
};
}>;
};
}
body: typeof ContractNoBody
method: "PUT"
path: "/:transactionId/:typeId/retry"
pathParams: ZodObject<{
transactionId: ZodString;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}>
responses: {
200: ZodObject<{
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<ZodObject<{
ip: ...;
sessionId: ...;
}, "strip", ZodTypeAny, {
ip: ...;
sessionId: ...;
}, {
ip: ...;
sessionId: ...;
}>>;
Card: ZodObject<{
Brand: ZodOptional<(...)>;
createdAt: ZodOptional<(...)>;
customerGalaxPayId: ZodOptional<(...)>;
customerMyId: ZodOptional<(...)>;
cvv: ZodOptional<(...)>;
expiresAt: ZodOptional<(...)>;
galaxPayId: ZodOptional<(...)>;
holder: ZodOptional<(...)>;
myId: ZodOptional<(...)>;
number: ZodOptional<(...)>;
updatedAt: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}>;
cardOperatorId: ZodOptional<ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>>;
preAuthorize: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}>;
Transaction: ZodObject<{
AbecsReasonDenied: ZodObject<{
code: ZodString;
message: ZodString;
}, "strip", ZodTypeAny, {
code: string;
message: string;
}, {
code: string;
message: string;
}>;
Antifraud: ZodObject<extendShape<{
ip: ...;
sessionId: ...;
}, {
approved: ...;
sent: ...;
}>, "strip", ZodTypeAny, {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
}, {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
}>;
Boleto: ZodObject<{
bankAccount: ZodString;
bankAgency: ZodString;
bankEmissor: ZodString;
bankLine: ZodString;
bankNumber: ZodNumber;
barCode: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
}, {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
}>;
Charge: ZodArray<ZodObject<{
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, "strip", ZodTypeAny, {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}>, "many">;
ConciliationOccurrences: ZodArray<ZodObject<{
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}, "strip", ZodTypeAny, {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}, {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}>, "many">;
CreditCard: ZodObject<{
Card: ZodObject<(...), (...), (...), (...), (...)>;
}, "strip", ZodTypeAny, {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
}, {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
}>;
Invoice: ZodObject<{
description: ZodString;
number: ZodString;
pdf: ZodString;
status: ZodEnum<(...)>;
statusDate: ZodString;
statusDescription: ZodString;
xml: ZodString;
}, "strip", ZodTypeAny, {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
}, {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
}>;
Pix: ZodObject<{
image: ZodString;
page: ZodString;
qrCode: ZodString;
reference: ZodString;
}, "strip", ZodTypeAny, {
image: string;
page: string;
qrCode: string;
reference: string;
}, {
image: string;
page: string;
qrCode: string;
reference: string;
}>;
Subscription: ZodObject<{
Customer: ZodEffects<(...), (...), (...)>;
InvoiceConfig: ZodOptional<(...)>;
PaymentMethodBoleto: ZodOptional<(...)>;
PaymentMethodCreditCard: ZodOptional<(...)>;
PaymentMethodPix: ZodOptional<(...)>;
additionalInfo: ZodOptional<(...)>;
firstPayDayDate: ZodString;
galaxPayId: ZodNumber;
mainPaymentMethodId: ZodEnum<(...)>;
myId: ZodString;
paymentLink: ZodOptional<(...)>;
periodicity: ZodEnum<(...)>;
planGalaxPayId: ZodNumber;
planMyId: ZodString;
status: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
}, {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
}>;
additionalInfo: ZodOptional<ZodString>;
authorizationCode: ZodOptional<ZodString>;
cardOperatorId: ZodEnum<["bin", "cielo", "getnet", "getnetNew", "globalpayments", "pagseguro", "rede", "zoop", "galaxpay", "adyen", "stone"]>;
chargeGalaxPayId: ZodNumber;
chargeMyId: ZodString;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
installment: ZodNumber;
myId: ZodString;
payday: ZodString;
paydayDate: ZodString;
payedOutsideGalaxPay: ZodBoolean;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<["noSend", "authorized", "captured", "denied", "reversed", "chargeback", "pendingBoleto", "payedBoleto", "notCompensated", "lessValueBoleto", "moreValueBoleto", "paidDuplicityBoleto", "pendingPix", "payedPix"]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodNumber;
subscriptionMyId: ZodString;
tid: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}>;
}, "strip", ZodTypeAny, {
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: {
city?: ...;
complement?: ...;
neighborhood?: ...;
number?: ...;
state?: ...;
street?: ...;
zipCode?: ...;
};
createdAt?: string;
document?: string;
emails?: (...)[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: (...)[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto?: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard?: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix?: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
};
}, {
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: {
city?: ...;
complement?: ...;
neighborhood?: ...;
number?: ...;
state?: ...;
street?: ...;
zipCode?: ...;
};
createdAt?: string;
document?: string;
emails?: (...)[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: (...)[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto?: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard?: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix?: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
};
}>;
}
200: ZodObject<{
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<ZodObject<{
ip: ...;
sessionId: ...;
}, "strip", ZodTypeAny, {
ip: ...;
sessionId: ...;
}, {
ip: ...;
sessionId: ...;
}>>;
Card: ZodObject<{
Brand: ZodOptional<(...)>;
createdAt: ZodOptional<(...)>;
customerGalaxPayId: ZodOptional<(...)>;
customerMyId: ZodOptional<(...)>;
cvv: ZodOptional<(...)>;
expiresAt: ZodOptional<(...)>;
galaxPayId: ZodOptional<(...)>;
holder: ZodOptional<(...)>;
myId: ZodOptional<(...)>;
number: ZodOptional<(...)>;
updatedAt: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}>;
cardOperatorId: ZodOptional<ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>>;
preAuthorize: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}>;
Transaction: ZodObject<{
AbecsReasonDenied: ZodObject<{
code: ZodString;
message: ZodString;
}, "strip", ZodTypeAny, {
code: string;
message: string;
}, {
code: string;
message: string;
}>;
Antifraud: ZodObject<extendShape<{
ip: ...;
sessionId: ...;
}, {
approved: ...;
sent: ...;
}>, "strip", ZodTypeAny, {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
}, {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
}>;
Boleto: ZodObject<{
bankAccount: ZodString;
bankAgency: ZodString;
bankEmissor: ZodString;
bankLine: ZodString;
bankNumber: ZodNumber;
barCode: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
}, {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
}>;
Charge: ZodArray<ZodObject<{
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, "strip", ZodTypeAny, {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}>, "many">;
ConciliationOccurrences: ZodArray<ZodObject<{
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}, "strip", ZodTypeAny, {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}, {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}>, "many">;
CreditCard: ZodObject<{
Card: ZodObject<(...), (...), (...), (...), (...)>;
}, "strip", ZodTypeAny, {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
}, {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
}>;
Invoice: ZodObject<{
description: ZodString;
number: ZodString;
pdf: ZodString;
status: ZodEnum<(...)>;
statusDate: ZodString;
statusDescription: ZodString;
xml: ZodString;
}, "strip", ZodTypeAny, {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
}, {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
}>;
Pix: ZodObject<{
image: ZodString;
page: ZodString;
qrCode: ZodString;
reference: ZodString;
}, "strip", ZodTypeAny, {
image: string;
page: string;
qrCode: string;
reference: string;
}, {
image: string;
page: string;
qrCode: string;
reference: string;
}>;
Subscription: ZodObject<{
Customer: ZodEffects<(...), (...), (...)>;
InvoiceConfig: ZodOptional<(...)>;
PaymentMethodBoleto: ZodOptional<(...)>;
PaymentMethodCreditCard: ZodOptional<(...)>;
PaymentMethodPix: ZodOptional<(...)>;
additionalInfo: ZodOptional<(...)>;
firstPayDayDate: ZodString;
galaxPayId: ZodNumber;
mainPaymentMethodId: ZodEnum<(...)>;
myId: ZodString;
paymentLink: ZodOptional<(...)>;
periodicity: ZodEnum<(...)>;
planGalaxPayId: ZodNumber;
planMyId: ZodString;
status: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
}, {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
}>;
additionalInfo: ZodOptional<ZodString>;
authorizationCode: ZodOptional<ZodString>;
cardOperatorId: ZodEnum<["bin", "cielo", "getnet", "getnetNew", "globalpayments", "pagseguro", "rede", "zoop", "galaxpay", "adyen", "stone"]>;
chargeGalaxPayId: ZodNumber;
chargeMyId: ZodString;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
installment: ZodNumber;
myId: ZodString;
payday: ZodString;
paydayDate: ZodString;
payedOutsideGalaxPay: ZodBoolean;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<["noSend", "authorized", "captured", "denied", "reversed", "chargeback", "pendingBoleto", "payedBoleto", "notCompensated", "lessValueBoleto", "moreValueBoleto", "paidDuplicityBoleto", "pendingPix", "payedPix"]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodNumber;
subscriptionMyId: ZodString;
tid: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}>;
}, "strip", ZodTypeAny, {
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: {
city?: ...;
complement?: ...;
neighborhood?: ...;
number?: ...;
state?: ...;
street?: ...;
zipCode?: ...;
};
createdAt?: string;
document?: string;
emails?: (...)[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: (...)[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto?: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard?: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix?: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
};
}, {
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: {
city?: ...;
complement?: ...;
neighborhood?: ...;
number?: ...;
state?: ...;
street?: ...;
zipCode?: ...;
};
createdAt?: string;
document?: string;
emails?: (...)[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: (...)[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto?: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard?: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix?: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
};
}>
reverse: {
body: ZodObject<{
valueToReverse: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
valueToReverse?: number;
}, {
valueToReverse?: number;
}>;
method: "PUT";
path: "/:transactionId/:typeId/reverse";
pathParams: ZodObject<{
transactionId: ZodString;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}>;
responses: {
200: ZodObject<{
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<ZodObject<{
ip: ...;
sessionId: ...;
}, "strip", ZodTypeAny, {
ip: ...;
sessionId: ...;
}, {
ip: ...;
sessionId: ...;
}>>;
Card: ZodObject<{
Brand: ZodOptional<(...)>;
createdAt: ZodOptional<(...)>;
customerGalaxPayId: ZodOptional<(...)>;
customerMyId: ZodOptional<(...)>;
cvv: ZodOptional<(...)>;
expiresAt: ZodOptional<(...)>;
galaxPayId: ZodOptional<(...)>;
holder: ZodOptional<(...)>;
myId: ZodOptional<(...)>;
number: ZodOptional<(...)>;
updatedAt: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}>;
cardOperatorId: ZodOptional<ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>>;
preAuthorize: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}>;
Transaction: ZodObject<{
AbecsReasonDenied: ZodObject<{
code: ZodString;
message: ZodString;
}, "strip", ZodTypeAny, {
code: string;
message: string;
}, {
code: string;
message: string;
}>;
Antifraud: ZodObject<extendShape<{
ip: ...;
sessionId: ...;
}, {
approved: ...;
sent: ...;
}>, "strip", ZodTypeAny, {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
}, {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
}>;
Boleto: ZodObject<{
bankAccount: ZodString;
bankAgency: ZodString;
bankEmissor: ZodString;
bankLine: ZodString;
bankNumber: ZodNumber;
barCode: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
}, {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
}>;
Charge: ZodArray<ZodObject<{
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, "strip", ZodTypeAny, {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}>, "many">;
ConciliationOccurrences: ZodArray<ZodObject<{
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}, "strip", ZodTypeAny, {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}, {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}>, "many">;
CreditCard: ZodObject<{
Card: ZodObject<(...), (...), (...), (...), (...)>;
}, "strip", ZodTypeAny, {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
}, {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
}>;
Invoice: ZodObject<{
description: ZodString;
number: ZodString;
pdf: ZodString;
status: ZodEnum<(...)>;
statusDate: ZodString;
statusDescription: ZodString;
xml: ZodString;
}, "strip", ZodTypeAny, {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
}, {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
}>;
Pix: ZodObject<{
image: ZodString;
page: ZodString;
qrCode: ZodString;
reference: ZodString;
}, "strip", ZodTypeAny, {
image: string;
page: string;
qrCode: string;
reference: string;
}, {
image: string;
page: string;
qrCode: string;
reference: string;
}>;
Subscription: ZodObject<{
Customer: ZodEffects<(...), (...), (...)>;
InvoiceConfig: ZodOptional<(...)>;
PaymentMethodBoleto: ZodOptional<(...)>;
PaymentMethodCreditCard: ZodOptional<(...)>;
PaymentMethodPix: ZodOptional<(...)>;
additionalInfo: ZodOptional<(...)>;
firstPayDayDate: ZodString;
galaxPayId: ZodNumber;
mainPaymentMethodId: ZodEnum<(...)>;
myId: ZodString;
paymentLink: ZodOptional<(...)>;
periodicity: ZodEnum<(...)>;
planGalaxPayId: ZodNumber;
planMyId: ZodString;
status: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
}, {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
}>;
additionalInfo: ZodOptional<ZodString>;
authorizationCode: ZodOptional<ZodString>;
cardOperatorId: ZodEnum<["bin", "cielo", "getnet", "getnetNew", "globalpayments", "pagseguro", "rede", "zoop", "galaxpay", "adyen", "stone"]>;
chargeGalaxPayId: ZodNumber;
chargeMyId: ZodString;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
installment: ZodNumber;
myId: ZodString;
payday: ZodString;
paydayDate: ZodString;
payedOutsideGalaxPay: ZodBoolean;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<["noSend", "authorized", "captured", "denied", "reversed", "chargeback", "pendingBoleto", "payedBoleto", "notCompensated", "lessValueBoleto", "moreValueBoleto", "paidDuplicityBoleto", "pendingPix", "payedPix"]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodNumber;
subscriptionMyId: ZodString;
tid: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}>;
}, "strip", ZodTypeAny, {
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: {
city?: ...;
complement?: ...;
neighborhood?: ...;
number?: ...;
state?: ...;
street?: ...;
zipCode?: ...;
};
createdAt?: string;
document?: string;
emails?: (...)[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: (...)[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto?: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard?: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix?: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
};
}, {
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: {
city?: ...;
complement?: ...;
neighborhood?: ...;
number?: ...;
state?: ...;
street?: ...;
zipCode?: ...;
};
createdAt?: string;
document?: string;
emails?: (...)[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: (...)[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto?: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard?: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix?: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
};
}>;
};
}
body: ZodObject<{
valueToReverse: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
valueToReverse?: number;
}, {
valueToReverse?: number;
}>
method: "PUT"
path: "/:transactionId/:typeId/reverse"
pathParams: ZodObject<{
transactionId: ZodString;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}, {
transactionId: string;
typeId: "galaxPayId" | "myId";
}>
responses: {
200: ZodObject<{
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<ZodObject<{
ip: ...;
sessionId: ...;
}, "strip", ZodTypeAny, {
ip: ...;
sessionId: ...;
}, {
ip: ...;
sessionId: ...;
}>>;
Card: ZodObject<{
Brand: ZodOptional<(...)>;
createdAt: ZodOptional<(...)>;
customerGalaxPayId: ZodOptional<(...)>;
customerMyId: ZodOptional<(...)>;
cvv: ZodOptional<(...)>;
expiresAt: ZodOptional<(...)>;
galaxPayId: ZodOptional<(...)>;
holder: ZodOptional<(...)>;
myId: ZodOptional<(...)>;
number: ZodOptional<(...)>;
updatedAt: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}>;
cardOperatorId: ZodOptional<ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>>;
preAuthorize: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}>;
Transaction: ZodObject<{
AbecsReasonDenied: ZodObject<{
code: ZodString;
message: ZodString;
}, "strip", ZodTypeAny, {
code: string;
message: string;
}, {
code: string;
message: string;
}>;
Antifraud: ZodObject<extendShape<{
ip: ...;
sessionId: ...;
}, {
approved: ...;
sent: ...;
}>, "strip", ZodTypeAny, {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
}, {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
}>;
Boleto: ZodObject<{
bankAccount: ZodString;
bankAgency: ZodString;
bankEmissor: ZodString;
bankLine: ZodString;
bankNumber: ZodNumber;
barCode: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
}, {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
}>;
Charge: ZodArray<ZodObject<{
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, "strip", ZodTypeAny, {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}>, "many">;
ConciliationOccurrences: ZodArray<ZodObject<{
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}, "strip", ZodTypeAny, {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}, {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}>, "many">;
CreditCard: ZodObject<{
Card: ZodObject<(...), (...), (...), (...), (...)>;
}, "strip", ZodTypeAny, {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
}, {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
}>;
Invoice: ZodObject<{
description: ZodString;
number: ZodString;
pdf: ZodString;
status: ZodEnum<(...)>;
statusDate: ZodString;
statusDescription: ZodString;
xml: ZodString;
}, "strip", ZodTypeAny, {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
}, {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
}>;
Pix: ZodObject<{
image: ZodString;
page: ZodString;
qrCode: ZodString;
reference: ZodString;
}, "strip", ZodTypeAny, {
image: string;
page: string;
qrCode: string;
reference: string;
}, {
image: string;
page: string;
qrCode: string;
reference: string;
}>;
Subscription: ZodObject<{
Customer: ZodEffects<(...), (...), (...)>;
InvoiceConfig: ZodOptional<(...)>;
PaymentMethodBoleto: ZodOptional<(...)>;
PaymentMethodCreditCard: ZodOptional<(...)>;
PaymentMethodPix: ZodOptional<(...)>;
additionalInfo: ZodOptional<(...)>;
firstPayDayDate: ZodString;
galaxPayId: ZodNumber;
mainPaymentMethodId: ZodEnum<(...)>;
myId: ZodString;
paymentLink: ZodOptional<(...)>;
periodicity: ZodEnum<(...)>;
planGalaxPayId: ZodNumber;
planMyId: ZodString;
status: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
}, {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
}>;
additionalInfo: ZodOptional<ZodString>;
authorizationCode: ZodOptional<ZodString>;
cardOperatorId: ZodEnum<["bin", "cielo", "getnet", "getnetNew", "globalpayments", "pagseguro", "rede", "zoop", "galaxpay", "adyen", "stone"]>;
chargeGalaxPayId: ZodNumber;
chargeMyId: ZodString;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
installment: ZodNumber;
myId: ZodString;
payday: ZodString;
paydayDate: ZodString;
payedOutsideGalaxPay: ZodBoolean;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<["noSend", "authorized", "captured", "denied", "reversed", "chargeback", "pendingBoleto", "payedBoleto", "notCompensated", "lessValueBoleto", "moreValueBoleto", "paidDuplicityBoleto", "pendingPix", "payedPix"]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodNumber;
subscriptionMyId: ZodString;
tid: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}>;
}, "strip", ZodTypeAny, {
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: {
city?: ...;
complement?: ...;
neighborhood?: ...;
number?: ...;
state?: ...;
street?: ...;
zipCode?: ...;
};
createdAt?: string;
document?: string;
emails?: (...)[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: (...)[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto?: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard?: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix?: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
};
}, {
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: {
city?: ...;
complement?: ...;
neighborhood?: ...;
number?: ...;
state?: ...;
street?: ...;
zipCode?: ...;
};
createdAt?: string;
document?: string;
emails?: (...)[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: (...)[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto?: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard?: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix?: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
};
}>;
}
200: ZodObject<{
PaymentMethodCreditCard: ZodObject<{
Antifraud: ZodOptional<ZodObject<{
ip: ...;
sessionId: ...;
}, "strip", ZodTypeAny, {
ip: ...;
sessionId: ...;
}, {
ip: ...;
sessionId: ...;
}>>;
Card: ZodObject<{
Brand: ZodOptional<(...)>;
createdAt: ZodOptional<(...)>;
customerGalaxPayId: ZodOptional<(...)>;
customerMyId: ZodOptional<(...)>;
cvv: ZodOptional<(...)>;
expiresAt: ZodOptional<(...)>;
galaxPayId: ZodOptional<(...)>;
holder: ZodOptional<(...)>;
myId: ZodOptional<(...)>;
number: ZodOptional<(...)>;
updatedAt: ZodOptional<(...)>;
}, "strip", ZodTypeAny, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}, {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
}>;
cardOperatorId: ZodOptional<ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>>;
preAuthorize: ZodOptional<ZodBoolean>;
}, "strip", ZodTypeAny, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}, {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
}>;
Transaction: ZodObject<{
AbecsReasonDenied: ZodObject<{
code: ZodString;
message: ZodString;
}, "strip", ZodTypeAny, {
code: string;
message: string;
}, {
code: string;
message: string;
}>;
Antifraud: ZodObject<extendShape<{
ip: ...;
sessionId: ...;
}, {
approved: ...;
sent: ...;
}>, "strip", ZodTypeAny, {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
}, {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
}>;
Boleto: ZodObject<{
bankAccount: ZodString;
bankAgency: ZodString;
bankEmissor: ZodString;
bankLine: ZodString;
bankNumber: ZodNumber;
barCode: ZodString;
pdf: ZodString;
}, "strip", ZodTypeAny, {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
}, {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
}>;
Charge: ZodArray<ZodObject<{
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, "strip", ZodTypeAny, {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}, {
Contract: ...;
Customer: ...;
ExtraFields: ...;
InvoiceConfig: ...;
PaymentMethodBoleto: ...;
PaymentMethodCreditCard: ...;
PaymentMethodPix: ...;
Split: ...;
Transactions: ...;
additionalInfo: ...;
galaxPayId: ...;
mainPaymentMethodId: ...;
myId: ...;
payedOutsideGalaxPay: ...;
paymentLink: ...;
planGalaxPayId: ...;
planMyId: ...;
status: ...;
value: ...;
}>, "many">;
ConciliationOccurrences: ZodArray<ZodObject<{
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}, "strip", ZodTypeAny, {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}, {
account: ...;
agency: ...;
bankName: ...;
bankNumber: ...;
depositDate: ...;
liquidValue: ...;
taxPercent: ...;
taxValue: ...;
type: ...;
}>, "many">;
CreditCard: ZodObject<{
Card: ZodObject<(...), (...), (...), (...), (...)>;
}, "strip", ZodTypeAny, {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
}, {
Card: {
Brand: ...;
createdAt: ...;
customerGalaxPayId: ...;
customerMyId: ...;
cvv: ...;
expiresAt: ...;
galaxPayId: ...;
holder: ...;
myId: ...;
number: ...;
updatedAt: ...;
};
}>;
Invoice: ZodObject<{
description: ZodString;
number: ZodString;
pdf: ZodString;
status: ZodEnum<(...)>;
statusDate: ZodString;
statusDescription: ZodString;
xml: ZodString;
}, "strip", ZodTypeAny, {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
}, {
description: string;
number: string;
pdf: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
statusDate: string;
statusDescription: string;
xml: string;
}>;
Pix: ZodObject<{
image: ZodString;
page: ZodString;
qrCode: ZodString;
reference: ZodString;
}, "strip", ZodTypeAny, {
image: string;
page: string;
qrCode: string;
reference: string;
}, {
image: string;
page: string;
qrCode: string;
reference: string;
}>;
Subscription: ZodObject<{
Customer: ZodEffects<(...), (...), (...)>;
InvoiceConfig: ZodOptional<(...)>;
PaymentMethodBoleto: ZodOptional<(...)>;
PaymentMethodCreditCard: ZodOptional<(...)>;
PaymentMethodPix: ZodOptional<(...)>;
additionalInfo: ZodOptional<(...)>;
firstPayDayDate: ZodString;
galaxPayId: ZodNumber;
mainPaymentMethodId: ZodEnum<(...)>;
myId: ZodString;
paymentLink: ZodOptional<(...)>;
periodicity: ZodEnum<(...)>;
planGalaxPayId: ZodNumber;
planMyId: ZodString;
status: ZodEnum<(...)>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
}, {
Customer: {
Address?: ...;
createdAt?: ...;
document?: ...;
emails?: ...;
galaPayId?: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId?: ...;
name?: ...;
phones?: ...;
status?: ...;
updatedAt?: ...;
};
InvoiceConfig?: (...) | (...);
PaymentMethodBoleto?: (...) | (...);
PaymentMethodCreditCard?: (...) | (...);
PaymentMethodPix?: (...) | (...);
additionalInfo?: (...) | (...);
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: (...) | (...) | (...);
myId: string;
paymentLink?: (...) | (...);
periodicity: (...) | (...) | (...) | (...) | (...) | (...) | (...);
planGalaxPayId: number;
planMyId: string;
status: (...) | (...) | (...) | (...) | (...) | (...);
value: number;
}>;
additionalInfo: ZodOptional<ZodString>;
authorizationCode: ZodOptional<ZodString>;
cardOperatorId: ZodEnum<["bin", "cielo", "getnet", "getnetNew", "globalpayments", "pagseguro", "rede", "zoop", "galaxpay", "adyen", "stone"]>;
chargeGalaxPayId: ZodNumber;
chargeMyId: ZodString;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
installment: ZodNumber;
myId: ZodString;
payday: ZodString;
paydayDate: ZodString;
payedOutsideGalaxPay: ZodBoolean;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<["noSend", "authorized", "captured", "denied", "reversed", "chargeback", "pendingBoleto", "payedBoleto", "notCompensated", "lessValueBoleto", "moreValueBoleto", "paidDuplicityBoleto", "pendingPix", "payedPix"]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodNumber;
subscriptionMyId: ZodString;
tid: ZodOptional<ZodString>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: ...;
document: ...;
ip: ...;
name: ...;
pdf: ...;
};
Customer: {
Address: ...;
createdAt: ...;
document: ...;
emails: ...;
galaPayId: ...;
invoiceHoldIss?: ...;
municipalDocument?: ...;
myId: ...;
name: ...;
phones?: ...;
status: ...;
updatedAt: ...;
};
ExtraFields: (...)[];
InvoiceConfig: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
Split: {
billGalaxyPayId: ...;
companyGalaxyPayId: ...;
galaxyPayId: ...;
groupGalaxyPayId: ...;
paymentMethod: ...;
type: ...;
value: ...;
};
Transactions: (...)[];
additionalInfo: (...) | (...);
galaxPayId: string;
mainPaymentMethodId: (...) | (...) | (...);
myId: (...) | (...);
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: (...) | (...);
status: (...) | (...) | (...) | (...) | (...);
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: (...) | (...);
createdAt?: (...) | (...);
document?: (...) | (...);
emails?: (...) | (...);
galaPayId?: (...) | (...);
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId?: (...) | (...);
name?: (...) | (...);
phones?: (...) | (...);
status?: (...) | (...) | (...) | (...) | (...);
updatedAt?: (...) | (...);
};
InvoiceConfig?: {
createOn: ...;
description: ...;
galaxPaySubAccountId?: ...;
qtdDaysAfterPay?: ...;
qtdDaysBeforePayDay?: ...;
type: ...;
};
PaymentMethodBoleto?: {
Aggrement?: ...;
deadlineDays?: ...;
documentNumber?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
PaymentMethodCreditCard?: {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
};
PaymentMethodPix?: {
Deadline?: ...;
fine?: ...;
instructions?: ...;
interest?: ...;
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
}>;
}, "strip", ZodTypeAny, {
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: {
city?: ...;
complement?: ...;
neighborhood?: ...;
number?: ...;
state?: ...;
street?: ...;
zipCode?: ...;
};
createdAt?: string;
document?: string;
emails?: (...)[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: (...)[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto?: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard?: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix?: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
};
}, {
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: (...) | (...);
maxInstallment?: (...) | (...);
name?: (...) | (...);
operatorIds?: (...) | (...);
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
Charge: {
Contract: {
acceptedAt: string;
document: string;
ip: string;
name: string;
pdf: string;
};
Customer: {
Address: {
city: ...;
complement?: ...;
neighborhood: ...;
number: ...;
state: ...;
street: ...;
zipCode: ...;
};
createdAt: string;
document: string;
emails: (...)[];
galaPayId: number;
invoiceHoldIss?: (...) | (...) | (...);
municipalDocument?: (...) | (...);
myId: string;
name: string;
phones?: (...) | (...);
status: (...) | (...) | (...) | (...);
updatedAt: string;
};
ExtraFields: {
tagName: ...;
value: ...;
}[];
InvoiceConfig: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: (...) | (...);
value: number;
};
Transactions: {
AbecsReasonDenied: ...;
Antifraud: ...;
Boleto: ...;
ConciliationOccurrences: ...;
CreditCard: ...;
Invoice: ...;
Pix: ...;
Subscription: ...;
additionalInfo?: ...;
authorizationCode?: ...;
cardOperatorId: ...;
chargeGalaxPayId: ...;
chargeMyId: ...;
datetimeLastSentToOperator: ...;
fee: ...;
galaxPayId: ...;
installment: ...;
myId: ...;
payday: ...;
paydayDate: ...;
payedOutsideGalaxPay: ...;
reasonDenied?: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
subscriptionGalaxPayId: ...;
subscriptionMyId: ...;
tid?: ...;
value: ...;
}[];
additionalInfo: null | string;
galaxPayId: string;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: null | string;
payedOutsideGalaxPay: boolean;
paymentLink: string;
planGalaxPayId: string;
planMyId: null | string;
status: "active" | "inactive" | "canceled" | "closed" | "waitingPayment";
value: number;
}[];
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
Pix: {
image: string;
page: string;
qrCode: string;
reference: string;
};
Subscription: {
Customer: {
Address?: {
city?: ...;
complement?: ...;
neighborhood?: ...;
number?: ...;
state?: ...;
street?: ...;
zipCode?: ...;
};
createdAt?: string;
document?: string;
emails?: (...)[];
galaPayId?: number;
invoiceHoldIss?: boolean;
municipalDocument?: string;
myId?: string;
name?: string;
phones?: (...)[];
status?: "active" | "inactive" | "delayed" | "withoutSubscriptionOrCharge";
updatedAt?: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodBoleto?: {
Aggrement?: (...) | (...);
deadlineDays?: (...) | (...);
documentNumber?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
PaymentMethodCreditCard?: {
Antifraud?: (...) | (...);
Card: {
Brand?: ...;
createdAt?: ...;
customerGalaxPayId?: ...;
customerMyId?: ...;
cvv?: ...;
expiresAt?: ...;
galaxPayId?: ...;
holder?: ...;
myId?: ...;
number?: ...;
updatedAt?: ...;
};
cardOperatorId?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
preAuthorize?: (...) | (...) | (...);
};
PaymentMethodPix?: {
Deadline?: (...) | (...);
fine?: (...) | (...);
instructions?: (...) | (...);
interest?: (...) | (...);
};
additionalInfo?: string;
firstPayDayDate: string;
galaxPayId: number;
mainPaymentMethodId: "creditcard" | "boleto" | "pix";
myId: string;
paymentLink?: string;
periodicity: "weekly" | "biweekly" | "monthly" | "bimonthly" | "quarterly" | "biannual" | "yearly";
planGalaxPayId: number;
planMyId: string;
status: "active" | "inactive" | "canceled" | "closed" | "stopped" | "waitingPayment";
value: number;
};
additionalInfo?: string;
authorizationCode?: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
chargeGalaxPayId: number;
chargeMyId: string;
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
installment: number;
myId: string;
payday: string;
paydayDate: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId: number;
subscriptionMyId: string;
tid?: string;
value: number;
};
}>
update: {
body: ZodObject<{
additionalInfo: ZodOptional<ZodOptional<ZodString>>;
myId: ZodString;
payday: ZodOptional<ZodString>;
payedOutsideGalaxPay: ZodOptional<ZodBoolean>;
value: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
additionalInfo: undefined | string;
myId: string;
payday: undefined | string;
payedOutsideGalaxPay: undefined | boolean;
value: undefined | number;
}, {
additionalInfo: undefined | string;
myId: string;
payday: undefined | string;
payedOutsideGalaxPay: undefined | boolean;
value: undefined | number;
}>;
method: "PUT";
path: "/:subscriptionId/:typeId";
pathParams: ZodObject<{
subscriptionId: ZodString;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
subscriptionId: string;
typeId: "galaxPayId" | "myId";
}, {
subscriptionId: string;
typeId: "galaxPayId" | "myId";
}>;
responses: {
200: ZodObject<{
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<["percent", "fixed"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}>;
Transaction: ZodObject<extendShape<{
InvoiceConfig: ZodOptional<ZodEffects<(...), (...), (...)>>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ...;
Card: ...;
cardOperatorId: ...;
preAuthorize: ...;
}, "strip", ZodTypeAny, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
myId: ZodString;
payday: ZodString;
payedOutsideGalaxPay: ZodBoolean;
value: ZodNumber;
}, {
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
authorizationCode: ZodString;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodOptional<ZodNumber>;
subscriptionMyId: ZodOptional<ZodString>;
tid: ZodString;
}>, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}>;
};
}
body: ZodObject<{
additionalInfo: ZodOptional<ZodOptional<ZodString>>;
myId: ZodString;
payday: ZodOptional<ZodString>;
payedOutsideGalaxPay: ZodOptional<ZodBoolean>;
value: ZodOptional<ZodNumber>;
}, "strip", ZodTypeAny, {
additionalInfo: undefined | string;
myId: string;
payday: undefined | string;
payedOutsideGalaxPay: undefined | boolean;
value: undefined | number;
}, {
additionalInfo: undefined | string;
myId: string;
payday: undefined | string;
payedOutsideGalaxPay: undefined | boolean;
value: undefined | number;
}>
method: "PUT"
path: "/:subscriptionId/:typeId"
pathParams: ZodObject<{
subscriptionId: ZodString;
typeId: ZodEnum<["galaxPayId", "myId"]>;
}, "strip", ZodTypeAny, {
subscriptionId: string;
typeId: "galaxPayId" | "myId";
}, {
subscriptionId: string;
typeId: "galaxPayId" | "myId";
}>
responses: {
200: ZodObject<{
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<["percent", "fixed"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}>;
Transaction: ZodObject<extendShape<{
InvoiceConfig: ZodOptional<ZodEffects<(...), (...), (...)>>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ...;
Card: ...;
cardOperatorId: ...;
preAuthorize: ...;
}, "strip", ZodTypeAny, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
myId: ZodString;
payday: ZodString;
payedOutsideGalaxPay: ZodBoolean;
value: ZodNumber;
}, {
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
authorizationCode: ZodString;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodOptional<ZodNumber>;
subscriptionMyId: ZodOptional<ZodString>;
tid: ZodString;
}>, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}>;
}
200: ZodObject<{
Split: ZodObject<{
billGalaxyPayId: ZodNumber;
companyGalaxyPayId: ZodNumber;
galaxyPayId: ZodNumber;
groupGalaxyPayId: ZodNumber;
paymentMethod: ZodString;
type: ZodEnum<["percent", "fixed"]>;
value: ZodNumber;
}, "strip", ZodTypeAny, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}, {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
}>;
Transaction: ZodObject<extendShape<{
InvoiceConfig: ZodOptional<ZodEffects<(...), (...), (...)>>;
PaymentMethodCreditCard: ZodObject<{
Antifraud: ...;
Card: ...;
cardOperatorId: ...;
preAuthorize: ...;
}, "strip", ZodTypeAny, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}, {
Antifraud?: ...;
Card: ...;
cardOperatorId?: ...;
preAuthorize?: ...;
}>;
additionalInfo: ZodOptional<ZodString>;
myId: ZodString;
payday: ZodString;
payedOutsideGalaxPay: ZodBoolean;
value: ZodNumber;
}, {
AbecsReasonDenied: ZodObject<{
code: ...;
message: ...;
}, "strip", ZodTypeAny, {
code: ...;
message: ...;
}, {
code: ...;
message: ...;
}>;
Antifraud: ZodObject<extendShape<(...), (...)>, "strip", ZodTypeAny, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}, {
approved: ...;
ip: ...;
sent: ...;
sessionId: ...;
}>;
Boleto: ZodObject<{
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, "strip", ZodTypeAny, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}, {
bankAccount: ...;
bankAgency: ...;
bankEmissor: ...;
bankLine: ...;
bankNumber: ...;
barCode: ...;
pdf: ...;
}>;
ConciliationOccurrences: ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">;
CreditCard: ZodObject<{
Card: ...;
}, "strip", ZodTypeAny, {
Card: ...;
}, {
Card: ...;
}>;
Invoice: ZodObject<{
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, "strip", ZodTypeAny, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}, {
description: ...;
number: ...;
pdf: ...;
status: ...;
statusDate: ...;
statusDescription: ...;
xml: ...;
}>;
authorizationCode: ZodString;
cardOperatorId: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
datetimeLastSentToOperator: ZodString;
fee: ZodNumber;
galaxPayId: ZodNumber;
reasonDenied: ZodOptional<ZodString>;
status: ZodEnum<[(...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...), (...)]>;
statusDate: ZodString;
statusDescription: ZodString;
subscriptionGalaxPayId: ZodOptional<ZodNumber>;
subscriptionMyId: ZodOptional<ZodString>;
tid: ZodString;
}>, "strip", ZodTypeAny, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}, {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: (...) | (...);
}[];
CreditCard: {
Card: {
Brand: {
id: ...;
maxInstallment: ...;
name: ...;
operatorIds: ...;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: (...) | (...) | (...) | (...);
description: string;
galaxPaySubAccountId?: (...) | (...);
qtdDaysAfterPay?: (...) | (...);
qtdDaysBeforePayDay?: (...) | (...);
type: (...) | (...);
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: ...;
sessionId: ...;
};
Card: {
Brand?: (...) | (...);
createdAt?: (...) | (...);
customerGalaxPayId?: (...) | (...);
customerMyId?: (...) | (...);
cvv?: (...) | (...);
expiresAt?: (...) | (...);
galaxPayId?: (...) | (...);
holder?: (...) | (...);
myId?: (...) | (...);
number?: (...) | (...);
updatedAt?: (...) | (...);
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
}>;
type: ZodBoolean;
}, "strip", ZodTypeAny, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}, {
Split: {
billGalaxyPayId: number;
companyGalaxyPayId: number;
galaxyPayId: number;
groupGalaxyPayId: number;
paymentMethod: string;
type: "percent" | "fixed";
value: number;
};
Transaction: {
AbecsReasonDenied: {
code: string;
message: string;
};
Antifraud: {
approved: boolean;
ip: string;
sent: boolean;
sessionId: string;
};
Boleto: {
bankAccount: string;
bankAgency: string;
bankEmissor: string;
bankLine: string;
bankNumber: number;
barCode: string;
pdf: string;
};
ConciliationOccurrences: {
account: string;
agency: string;
bankName: string;
bankNumber: number;
depositDate: string;
liquidValue: number;
taxPercent: number;
taxValue: number;
type: "payment" | "canceled";
}[];
CreditCard: {
Card: {
Brand: {
id: string;
maxInstallment: number;
name: string;
operatorIds: string;
};
createdAt: string;
customerGalaxPayId: number;
customerMyId: string;
cvv: string;
expiresAt: string;
galaxPayId: number;
holder: string;
myId: string;
number: string;
updatedAt: string;
};
};
Invoice: {
description: string;
number: string;
pdf: string;
status: "error" | "pending" | "emitted" | "rejected" | "cancel" | "cancelOutSystem";
statusDate: string;
statusDescription: string;
xml: string;
};
InvoiceConfig?: {
createOn: "payment" | "daysBeforePayDay" | "notificationSend" | "daysAfterPayment";
description: string;
galaxPaySubAccountId?: number;
qtdDaysAfterPay?: number;
qtdDaysBeforePayDay?: number;
type: "onePerTransaction" | "onlyOne";
};
PaymentMethodCreditCard: {
Antifraud?: {
ip: string;
sessionId: string;
};
Card: {
Brand?: {
id?: ...;
maxInstallment?: ...;
name?: ...;
operatorIds?: ...;
};
createdAt?: string;
customerGalaxPayId?: number;
customerMyId?: string;
cvv?: string;
expiresAt?: string;
galaxPayId?: number;
holder?: string;
myId?: string;
number?: string;
updatedAt?: string;
};
cardOperatorId?: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
preAuthorize?: boolean;
};
additionalInfo?: string;
authorizationCode: string;
cardOperatorId: "bin" | "cielo" | "getnet" | "getnetNew" | "globalpayments" | "pagseguro" | "rede" | "zoop" | "galaxpay" | "adyen" | "stone";
datetimeLastSentToOperator: string;
fee: number;
galaxPayId: number;
myId: string;
payday: string;
payedOutsideGalaxPay: boolean;
reasonDenied?: string;
status: "cancel" | "noSend" | "authorized" | "captured" | "denied" | "reversed" | "chargeback" | "pendingBoleto" | "payedBoleto" | "notCompensated" | "lessValueBoleto" | "moreValueBoleto" | "paidDuplicityBoleto" | "pendingPix" | "payedPix" | "unavailablePix" | "payExternal" | "cancelByContract" | "free";
statusDate: string;
statusDescription: string;
subscriptionGalaxPayId?: number;
subscriptionMyId?: string;
tid: string;
value: number;
};
type: boolean;
}>
Type declaration
commonResponses: {
507: ContractPlainType<ZodError<any>>;
}
507: ContractPlainType<ZodError<any>>
pathPrefix: "/transactions"
Represents the transactions router.